home *** CD-ROM | disk | FTP | other *** search
/ Medabots Cardz / Medabots CD Cardz Rokusho.bin / pc / assets / rokusho.dxr / 00011_Script_11 < prev    next >
Text File  |  2001-12-07  |  1KB  |  32 lines

  1. property mysprite
  2. global area, medaldown, showarea
  3.  
  4. on beginsprite me
  5.   medaldown = 0
  6.   mysprite = the spritenum of me
  7. --  set the blend of sprite mysprite = 0
  8. end
  9.  
  10. on exitframe me
  11.   
  12.   if area = 1 or medaldown = 1 or showarea = 1 then
  13.     set the member of sprite mysprite to "constructtext"
  14.     set the blend of sprite mysprite = 100
  15.   else if area = 2  or medaldown = 2 or showarea = 2 then
  16.     set the member of sprite mysprite to "trainingtext"
  17.     set the blend of sprite mysprite = 100
  18.   else if area = 3  or medaldown = 3 or showarea = 3 then
  19.     set the member of sprite mysprite to "fighttext"
  20.     set the blend of sprite mysprite = 100
  21.   else if area = 4  or medaldown = 4 or showarea = 4 then
  22.     set the member of sprite mysprite to "funtext"
  23.     set the blend of sprite mysprite = 100
  24.   else if area = 5  or medaldown = 5 or showarea = 5 then
  25.     set the member of sprite mysprite to "videotext"
  26.     set the blend of sprite mysprite = 100
  27.   else if area = 0 then
  28.     set the blend of sprite mysprite = 0
  29.   end if
  30.   
  31. end
  32.